<?
require "./controller/search.php";
$obj = $rows->fetchAll()[0];
?>


<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><? echo $obj['title']; ?></title>
</head>

<style>
    h1 {
        text-align: center;
    }

    .main {
        width: 780px;
        margin: 0 auto;
    }
</style>

<body>
    <div>
        <h1><? echo $obj['title'] ?></h1>
        <div class="main">
            <? echo $obj['content']; ?>
        </div>
    </div>

</body>

</html>